Performance Analysis of Morphological Operations in Cpu and Gpu for Accelerating Digital Image Applications
نویسندگان
چکیده
In this paper, we evaluate the performance of morphological operations in central processing unit (CPU) and graphics processing unit (GPU) on various sizes of image and structuring element. The languages selected for algorithm implementation are C++, Matlab for CPU and CUDA for GPU. The parallel programming approach using threads for image analysis is done on basic entities of images. The morphological operations namely dilation and erosion are purely depends upon local neighborhood information of each pixel and thus independent. GPU capable to create more number of threads. Here thread per pixel of the image is created to execute the algorithms with the neighbors of relative pixels. Finally the speed performance of all algorithms on conventional processor CPU and parallel processor GPU are computed and compared. Dilation operation in GPU is up to 5 times faster than CPU C++ code and up to 4 11 times faster than CPU MATLAB code, likewise Erosion operation in GPU is up to 2 times faster than CPU C++ code and up to 612 times faster than CPU MATLAB code when image size varying from 256 × 256 to 1024 × 1024. Further it shows that the performance of GPU implementation is gearing up when the image size is increased. While changing the structuring element size with 1024 × 1024 image the Dilation operation in GPU is up to 3-5 times faster than CPU C++ code and up to 10 35 times faster than CPU MATLAB code, likewise Erosion operation in GPU is up to 2 – 6 times faster than CPU C++ code and up to 1246 times faster than CPU MATLAB code.
منابع مشابه
Ultra-Fast Image Reconstruction of Tomosynthesis Mammography Using GPU
Digital Breast Tomosynthesis (DBT) is a technology that creates three dimensional (3D) images of breast tissue. Tomosynthesis mammography detects lesions that are not detectable with other imaging systems. If image reconstruction time is in the order of seconds, we can use Tomosynthesis systems to perform Tomosynthesis-guided Interventional procedures. This research has been designed to study u...
متن کاملParallel Implementation of Particle Swarm Optimization Variants Using Graphics Processing Unit Platform
There are different variants of Particle Swarm Optimization (PSO) algorithm such as Adaptive Particle Swarm Optimization (APSO) and Particle Swarm Optimization with an Aging Leader and Challengers (ALC-PSO). These algorithms improve the performance of PSO in terms of finding the best solution and accelerating the convergence speed. However, these algorithms are computationally intensive. The go...
متن کاملAutomatic Detection and Localization of Surface Cracks in Continuously Cast Hot Steel Slabs Using Digital Image Analysis Techniques
Quality inspection is an indispensable part of modern industrial manufacturing. Steel as a major industry requires constant surveillance and supervision through its various stages of production. Continuous casting is a critical step in the steel manufacturing process in which molten steel is solidified into a semi-finished product called slab. Once the slab is released from the casting unit, th...
متن کاملParallelization of Rich Models for Steganalysis of Digital Images using a CUDA-based Approach
There are several different methods to make an efficient strategy for steganalysis of digital images. A very powerful method in this area is rich model consisting of a large number of diverse sub-models in both spatial and transform domain that should be utilized. However, the extraction of a various types of features from an image is so time consuming in some steps, especially for training pha...
متن کاملFast Cellular Automata Implementation on Graphic Processor Unit (GPU) for Salt and Pepper Noise Removal
Noise removal operation is commonly applied as pre-processing step before subsequent image processing tasks due to the occurrence of noise during acquisition or transmission process. A common problem in imaging systems by using CMOS or CCD sensors is appearance of the salt and pepper noise. This paper presents Cellular Automata (CA) framework for noise removal of distorted image by the salt an...
متن کامل